package com.auxgroup.hr.front.dozer.exception;

/**
 * 
 * @author liuzhe
 *
 */
public class BaseUncheckException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private String errorCode;

	public BaseUncheckException() {
		
	}

	public BaseUncheckException(String message, Throwable cause) {
		super(message, cause);
	}

	public BaseUncheckException(String message) {
		super(message);
	}

	public BaseUncheckException(Throwable cause) {
		super(cause);
	}

	public BaseUncheckException(String message, String errorCode,
			Throwable cause) {
		super(message, cause);
		setErrorCode(errorCode);
	}

	public BaseUncheckException(String message, String errorCode) {
		super(message);
		setErrorCode(errorCode);
	}

	public String getErrorCode() {
		return this.errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
}
